<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace app\api;

use think\facade\Route;

#============================
#Login.php登录
#============================
Route::any('login', 'Login/login');
Route::any('login_bind_mobile', 'Login/login_bind_mobile');
Route::any('test', 'Login/test');
Route::any('test1', 'Login/test1');
Route::any('aa', 'Login/aa');
#============================
#Upload.php图片上传
#============================
Route::any('picture', 'Upload/picture');

#============================
#Index.php首页
#============================
Route::any('index', 'Index/index');
Route::any('yushourili', 'Index/yushourili');
Route::any('danye', 'Index/danye');
Route::any('menu', 'Index/menu');
Route::any('get_yinxiao', 'Index/get_yinxiao');


#============================
#User.php个人中心
#============================
Route::any('user', 'User/user');
Route::any('update_userinfo', 'User/update_userinfo');
Route::any('vip_list', 'User/vip_list');
Route::any('profitIntegral', 'User/profitIntegral');
Route::any('profitMoney', 'User/profitMoney');
Route::any('profitMoney2', 'User/profitMoney2');
Route::any('profitScore', 'User/profitScore');
Route::any('profitPay', 'User/profitPay');
Route::any('coupon_list', 'User/coupon_list');
Route::any('coupon_share', 'User/coupon_share');
Route::any('coupon_detail', 'User/coupon_detail');
Route::any('coupon_ling', 'User/coupon_ling');
Route::any('coupon_ji_suan', 'User/coupon_ji_suan');
Route::any('coupon_synthesis', 'User/coupon_synthesis');
Route::any('invitation', 'User/invitation');
Route::any('invitation_commission', 'User/invitation_commission');
Route::any('recharge', 'User/recharge');
Route::any('item_card_list', 'User/item_card_list');

//提现
Route::any('withdraw','Withdraw/index');
Route::any('withdraw_log','Withdraw/record');
#============================
#Rank.php排行榜
#============================
Route::any('rank_week', 'Rank/rank_week');
Route::any('rank_month', 'Rank/rank_month');
Route::any('ranks', 'Rank/ranks');

//任务
Route::any('task_list', 'TaskList/task_list');
Route::any('ling_task', 'TaskList/ling_task');

//权益中心
Route::any('quan_yi', 'QuanYi/quan_yi');
Route::any('quan_yi_ling', 'QuanYi/quan_yi_ling');

#============================
#Goods.php盒子管理
#============================
Route::any('goods', 'Goods/goods');
Route::any('goodsdetail', 'Goods/goodsdetail');
Route::any('goodslist_count', 'Goods/goodslist_count');
Route::any('goodslist_content', 'Goods/goodslist_content');
Route::any('shang_log', 'Goods/shang_log');
Route::any('listCollect', 'Goods/listCollect');
Route::any('addCollect', 'Goods/addCollect');
Route::any('delCollect', 'Goods/delCollect');
Route::any('ordermoney', 'Goods/ordermoney');
Route::any('orderbuy', 'Goods/orderbuy'); 
Route::any('prizeorderlog', 'Goods/prizeorderlog');
Route::any('luck_draw_log', 'Goods/luck_draw_log');
Route::any('receive_convert_code', 'Goods/receive_convert_code');
Route::any('shang_order_ranks', 'Goods/shang_order_ranks');


//首页弹出优惠券
Route::any('coupon','Coupon/index');
Route::any('receive','Coupon/receive');
Route::any('used','Coupon/used');

Route::any('coupon_record','Coupon/coupon_record');// 优惠券使用记录



#============================
#Infinite.php 无限赏管理
#============================
Route::any('infinite_goodsdetail', 'Infinite/infinite_goodsdetail');
Route::any('infinite_goodsdetail2', 'Infinite/infinite_goodsdetail2');
Route::any('infinite_shang_log', 'Infinite/infinite_shang_log');
Route::any('infinite_ordermoney', 'Infinite/infinite_ordermoney');
Route::any('infinite_orderbuy', 'Infinite/infinite_orderbuy');
Route::any('infinite_mibao_orderbuy', 'Infinite/infinite_mibao_orderbuy');
Route::any('infinite_prizeorderlog', 'Infinite/infinite_prizeorderlog');
Route::any('infinite_give_list', 'Infinite/infinite_give_list');
Route::any('infinite_give_goods', 'Infinite/infinite_give_goods');
Route::any('item_card_chou', 'Infinite/item_card_chou');
Route::any('do_draw', 'Infinite/do_draw'); #抽奖券抽奖
Route::any('ling_zhu_king', 'Infinite/ling_zhu_king'); #领主

#============================
#Cardextractor.php 抽卡机
#============================
//Route::any('cardextractor_index', 'Cardextractor/cardextractor_index');
//Route::any('cardextractor_goods', 'Cardextractor/cardextractor_goods');
//Route::any('cardextractor_goodsdetail', 'Cardextractor/cardextractor_goodsdetail');
//Route::any('cardextractor_goodslist_log', 'Cardextractor/cardextractor_goodslist_log');
//Route::any('cardextractor_shang_log', 'Cardextractor/cardextractor_shang_log');
//Route::any('cardextractor_ordermoney', 'Cardextractor/cardextractor_ordermoney');
//Route::any('cardextractor_orderbuy', 'Cardextractor/cardextractor_orderbuy');
//Route::any('cardextractor_prizeorderlog', 'Cardextractor/cardextractor_prizeorderlog');

#============================
#CardGoods.php 抽卡机
#============================
//Route::any('card_category_list', 'CardGoods/card_category_list');
//Route::any('card_index', 'CardGoods/card_index');
//Route::any('card_goods_list', 'CardGoods/card_goods_list');
//Route::any('card_goods_detail', 'CardGoods/card_goods_detail');
//Route::any('card_level', 'CardGoods/card_level');
//Route::any('shang_goods', 'CardGoods/shang_goods');
//Route::any('card_book', 'CardGoods/card_book');
//Route::any('card_reward_log', 'CardGoods/card_reward_log');
//Route::any('card_goods_buy', 'CardGoods/card_goods_buy');
//Route::any('prize_log', 'CardGoods/prize_log');
//Route::any('buy_money', 'CardGoods/buy_money');
//Route::any('card_rule', 'CardGoods/card_rule');
//Route::any('open_card', 'CardGoods/open_card');
#============================
#Warehouse.php 仓库管理
#============================
Route::any('warehouse_index', 'Warehouse/warehouse_index');
Route::any('warehouse_carddetail_log', 'Warehouse/warehouse_carddetail_log');
Route::any('warehouse_recovery', 'Warehouse/warehouse_recovery');
Route::any('warehouse_send', 'Warehouse/warehouse_send');
Route::any('warehouse_prizeorderlog', 'Warehouse/warehouse_prizeorderlog');
Route::any('warehouse_movein', 'Warehouse/warehouse_movein');
Route::any('warehouse_remove', 'Warehouse/warehouse_remove');
Route::any('warehouse_recovery_record', 'Warehouse/warehouse_recovery_record');
Route::any('warehouse_send_record', 'Warehouse/warehouse_send_record');
Route::any('warehouse_send_record_detail', 'Warehouse/warehouse_send_record_detail');
Route::any('warehouse_send_confirm', 'Warehouse/warehouse_send_confirm');
Route::any('warehouse_order_logistics', 'Warehouse/warehouse_order_logistics');


#============================
#Notify.php通知回调
#============================
Route::any('notify/order_notify', 'Notify/order_notify');
Route::any('notify/order_notify_ali', 'Notify/order_notify_ali');
Route::any('notify/ceshi', 'Notify/ceshi');
Route::any('notify/order_notify7','Notify/order_notify7');
Route::any('ad_notify','Notify/ad_notify');
Route::any('user_sign_list','User/user_sign_list');
Route::any('user_sign','User/user_sign');
Route::any('shop_seckill_index','Seckill/shop_seckill_index');
Route::any('shop_seckill_product','Seckill/shop_seckill_product');
Route::any('shop_goods_detail','Seckill/shop_goods_detail');
Route::any('shop_goods_share','Seckill/shop_goods_share');
Route::any('shop_goods_detail_spec','Seckill/shop_goods_detail_spec');
Route::any('shop_goods_browse','Seckill/shop_goods_browse');
Route::any('shop_order_buy','Seckill/shop_order_buy');
Route::any('seckill_order_list','Seckill/seckill_order_list');
Route::any('seckill_order_detail','Seckill/seckill_order_detail');
Route::any('seckill_order_confirm','Seckill/seckill_order_confirm');
Route::any('seckill_order_logistics','Seckill/seckill_order_logistics');

//签到
Route::any('sign','UserSign/index');  //签到页面
Route::any('sign_add','UserSign/sign_add');  //签到

//集市
Route::any('market_list','Market/market_list');
Route::any('my_market_list','Market/my_market_list');
Route::any('js_market_price','Market/js_market_price');
Route::any('market_fa','Market/market_fa');
Route::any('market_che_hui','Market/che_hui');
Route::any('market_money','Market/market_money');
Route::any('market_pay','Market/market_pay');


//商城
Route::any('product', 'Product/index'); // 商城商品列表
Route::any('product_detail', 'Product/detail'); // 商城商品列表
Route::any('product_norms', 'Product/norms'); // 商城商品列表
Route::any('product_cate', 'Product/cate'); // 商城分类
Route::any('product_list', 'Product/product_list'); // 商城分类


//商城订单
Route::any('product_order_info', 'ProductOrder/order_info'); // 商城订单提交
Route::any('product_order_add', 'ProductOrder/order_add'); // 订单提交提交支付
Route::any('product_order_cancel_pay', 'ProductOrder/order_cancel'); // 订单提交提交支付
Route::any('order_list', 'ProductOrder/order_list'); // 订单列表
Route::any('get_order', 'ProductOrder/get_order'); // 订单列表
Route::any('order_detail', 'ProductOrder/order_detail'); // 订单详情
Route::any('express_detail', 'ProductOrder/express_detail'); // 物流详情
Route::any('order_pay', 'ProductOrder/order_pay'); // 订单列表去支付
Route::any('order_over', 'ProductOrder/order_over'); // 订单列表去支付


#============================
#Climb.php爬塔
#============================


Route::any('climb_list','Climb/climb_list'); 		//爬塔页面

Route::any('climb','Climb/index'); 		//爬塔页面
Route::any('climb_detail','Climb/detail'); 		//爬塔详情
Route::any('climb_list_detail','Climb/climb_list_detail'); 		//爬塔商品详情
Route::any('climb_list_info','Climb/climb_list_info'); 		//爬塔记录
Route::any('climb_money_info','Climb/order_money_info'); 		//爬塔提交订单信息
Route::any('order_money_add','Climb/money_add'); 		//爬塔提交订单
Route::any('climb_prize_list','Climb/prize_list'); 		//中奖记录
Route::any('climb_ranks','Climb/climb_ranks'); 		//爬塔排行榜
// Route::any('order_money_info','Climb/order_money_info'); 		//爬塔排行榜
Route::any('first_prize_list','Climb/first_prize_list'); 		//爬塔排行榜
Route::any('end_prize_list','Climb/end_prize_list'); 		//通关记录

Route::any('pay_zfpay','Pay/zfpay'); 		//支付宝支付






